package common.post.service;

import java.util.List;

import common.customer.bean.Customer;
import common.post.bean.SInfoComment;

public interface SInfoCommentService {
	List<SInfoComment> getSInfoCommentBySInfoId(int sinfoId,int page,int pageSize);
	long getSInfoCommentCountBySInfoId(int sinfoId);
	boolean addSInfoComment(int sinfoId,String replyContent,Customer user);
	/**
	 * 增加对评论的评论
	 * @param commentid
	 * @param replyContent
	 * @param user
	 * @return
	 */
	boolean addSInfoCommentReply(long commentid,String replyContent,Customer user);
}
